#include "process.h"

void ProncessOn()
{
    int cnt=0;
    char bar[N];
    memset(bar,'\0',sizeof(bar));
    while(cnt<=100)
    {
        printf("[%-100s][%d%%]\r",bar,cnt);
        fflush(stdout);
        bar[cnt++]=M;
        usleep(50000);
    }
    printf("\n");
}
